<html>
<head><meta charset="utf-8"><title>Accepting vector types in vector registers? · project-inline-asm · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/216763-project-inline-asm/index.html">project-inline-asm</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/216763-project-inline-asm/topic/Accepting.20vector.20types.20in.20vector.20registers.3F.html">Accepting vector types in vector registers?</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="197778353"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/216763-project-inline-asm/topic/Accepting%20vector%20types%20in%20vector%20registers%3F/near/197778353" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/216763-project-inline-asm/topic/Accepting.20vector.20types.20in.20vector.20registers.3F.html#197778353">(May 16 2020 at 05:35)</a>:</h4>
<p>If I'm interpreting the RFC correctly, it <em>sounds</em> like types such as <code>core::arch::x86_64::__m128i</code>, <code>core::arch::x86_64::__m256d</code>, and so on would be allowed in <code>asm!</code> as inputs or outputs via an appropriately sized register. If that's the case, then if it isn't too much trouble, could you add to the mention of "SIMD vectors" an explicit note giving such types as examples of what will work?</p>



<a name="197806917"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/216763-project-inline-asm/topic/Accepting%20vector%20types%20in%20vector%20registers%3F/near/197806917" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/216763-project-inline-asm/topic/Accepting.20vector.20types.20in.20vector.20registers.3F.html#197806917">(May 16 2020 at 17:52)</a>:</h4>
<p>Just saw <a href="https://github.com/rust-lang/rfcs/pull/2873/commits/f45ca4b7d521c314122c9bfb19412e981dec128c">https://github.com/rust-lang/rfcs/pull/2873/commits/f45ca4b7d521c314122c9bfb19412e981dec128c</a> ; thank you!</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>